Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(ndt_scan_matcher): hierarchize parameters #6208

Conversation

YamatoAndo
Copy link
Contributor

@YamatoAndo YamatoAndo commented Jan 29, 2024

Merge with autowarefoundation/autoware_launch#830

Description

hierarchized the parameters in the config/ndt_scan_matcher.param.yaml file.

Additionally, I made the following changes:

  • structured the parameter variables in the source code.
  • renamed some parameters.
  • removed the RCLCPP_INFO output after loading parameters (as it is unnecessary to display).
  • deleted input_sensor_points_queue_size (as there is no situation where this parameter changes, I fixed it to a constant value).

※Regarding the README, I plan to submit a PR introducing the JSON schema shortly after merging this PR, and I will update the README at that time. #6229

Tests performed

LSim works

Effects on system behavior

Not applicable.

Pre-review checklist for the PR author

The PR author must check the checkboxes below when creating the PR.

In-review checklist for the PR reviewers

The PR reviewers must check the checkboxes below before approval.

Post-review checklist for the PR author

The PR author must check the checkboxes below before merging.

  • There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

@github-actions github-actions bot added the component:localization Vehicle's position determination in its environment. (auto-assigned) label Jan 29, 2024
@YamatoAndo YamatoAndo marked this pull request as ready for review January 29, 2024 08:32
pre-commit-ci bot and others added 3 commits January 29, 2024 08:32
Signed-off-by: Yamato Ando <[email protected]>
Signed-off-by: Yamato Ando <[email protected]>
@YamatoAndo YamatoAndo added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Jan 31, 2024
Copy link

codecov bot commented Jan 31, 2024

Codecov Report

Attention: 101 lines in your changes are missing coverage. Please review.

Comparison is base (f6e4550) 14.58% compared to head (1004efe) 14.58%.
Report is 28 commits behind head on main.

Files Patch % Lines
...cher/include/ndt_scan_matcher/hyper_parameters.hpp 11.86% 10 Missing and 42 partials ⚠️
...ion/ndt_scan_matcher/src/ndt_scan_matcher_core.cpp 2.17% 39 Missing and 6 partials ⚠️
...ization/ndt_scan_matcher/src/map_update_module.cpp 20.00% 3 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6208   +/-   ##
=======================================
  Coverage   14.58%   14.58%           
=======================================
  Files        1878     1879    +1     
  Lines      128023   128032    +9     
  Branches    37468    37469    +1     
=======================================
+ Hits        18671    18675    +4     
- Misses      88377    88384    +7     
+ Partials    20975    20973    -2     
Flag Coverage Δ *Carryforward flag
differential 3.49% <8.18%> (?)
total 14.59% <ø> (+<0.01%) ⬆️ Carriedforward from f6e4550

*This pull request uses carry forward flags. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@YamatoAndo YamatoAndo merged commit e41946b into autowarefoundation:main Feb 1, 2024
32 of 36 checks passed
kminoda pushed a commit to kminoda/autoware.universe that referenced this pull request Feb 1, 2024
…n#6208)

* refactor(ndt_scan_matcher): hierarchize parameters

Signed-off-by: Yamato Ando <[email protected]>

* style(pre-commit): autofix

* add new lines

Signed-off-by: Yamato Ando <[email protected]>

* fix typo

Signed-off-by: Yamato Ando <[email protected]>

---------

Signed-off-by: Yamato Ando <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
kminoda pushed a commit to kminoda/autoware.universe that referenced this pull request Feb 1, 2024
…n#6208)

* refactor(ndt_scan_matcher): hierarchize parameters

Signed-off-by: Yamato Ando <[email protected]>

* style(pre-commit): autofix

* add new lines

Signed-off-by: Yamato Ando <[email protected]>

* fix typo

Signed-off-by: Yamato Ando <[email protected]>

---------

Signed-off-by: Yamato Ando <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
karishma1911 pushed a commit to Interplai/autoware.universe that referenced this pull request Jun 3, 2024
…n#6208)

* refactor(ndt_scan_matcher): hierarchize parameters

Signed-off-by: Yamato Ando <[email protected]>

* style(pre-commit): autofix

* add new lines

Signed-off-by: Yamato Ando <[email protected]>

* fix typo

Signed-off-by: Yamato Ando <[email protected]>

---------

Signed-off-by: Yamato Ando <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:localization Vehicle's position determination in its environment. (auto-assigned) run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants